
package com.insigma.business.qrcode.welfare.dao;


import com.insigma.business.qrcode.welfare.dto.MarketingSpotBSearcher;
import com.insigma.business.qrcode.welfare.entity.MarketingSpotDO;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface MarketingSpotDao {

    
    List<MarketingSpotDO> search(final MarketingSpotBSearcher innerSearcher);

    
    MarketingSpotDO get(final String id);

    
    Integer insert(final MarketingSpotDO marketingSpotDO);

    
    Integer update(final MarketingSpotDO marketingSpotDO);

    
    Integer delete(@Param("id") final String id,
                   @Param("modifierType") final String modifierType,
                   @Param("modifierId") final String modifierId);

    
    MarketingSpotDO getByCode(String code);
}
